Skip to content

Conversation

@0xmaayan
Copy link
Contributor

@0xmaayan 0xmaayan commented Jan 29, 2026

A simple Solana dApp demonstrating file uploads to Shelby Protocol.

What's included

  • Simple file upload to Shelby using Solana wallet
  • Uses the new @shelby-protocol/solana-kit/react API
  • Same stack as token-gated example (create-solana-dapp) but without Anchor

Packages used

  • @solana/react-hooks - wallet connection
  • @shelby-protocol/solana-kit/react - storage account derivation
  • @shelby-protocol/react - blob uploads

Files

apps/solana/file-upload/
├── app/
│   ├── components/
│   │   ├── file-upload.tsx
│   │   ├── header.tsx
│   │   ├── providers.tsx
│   │   └── wallet-button.tsx
│   ├── lib/
│   │   ├── config.ts
│   │   └── shelbyClient.ts
│   ├── globals.css
│   ├── layout.tsx
│   └── page.tsx
├── package.json
└── README.md

Note

Low Risk
Adds a new, self-contained example Next.js app and its dependencies; existing application logic is not modified beyond workspace lockfile updates.

Overview
Adds a new apps/solana/file-upload Next.js example dApp that connects a Solana wallet, derives a Shelby storage account via @shelby-protocol/solana-kit/react, and uploads a selected file via useUploadBlobs (with status/error UI and an Explorer link).

Includes the app’s supporting config/docs (README.md, .env.example, Tailwind/Next/TS/ESLint configs, icon) and updates pnpm-lock.yaml to add the new package and resolve related dependency graph changes.

Written by Cursor Bugbot for commit 1362ce2. This will update automatically on new commits. Configure here.

@0xmaayan 0xmaayan force-pushed the feat/solana-file-upload branch from 0c9525a to 9f96ff3 Compare January 29, 2026 23:11
Simple Solana dApp demonstrating file uploads to Shelby Protocol using:
- @solana/react-hooks for wallet connection
- @shelby-protocol/solana-kit/react for storage account
- @shelby-protocol/react for blob uploads

Uses the new simplified useStorageAccount API that accepts wallet directly.
@0xmaayan 0xmaayan force-pushed the feat/solana-file-upload branch from 41c2dd5 to 1362ce2 Compare January 30, 2026 14:13
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants